<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: slave.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('slave_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">slave.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="slave_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *  $Id: slave.h,v ec403cf308eb 2013/02/12 14:46:43 fp $</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *  Copyright (C) 2006-2012  Florian Pose, Ingenieurgemeinschaft IgH</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *  This file is part of the IgH EtherCAT Master.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  The IgH EtherCAT Master is free software; you can redistribute it and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  modify it under the terms of the GNU General Public License version 2, as</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *  published by the Free Software Foundation.</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *  The IgH EtherCAT Master is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *  but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *  Public License for more details.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *  You should have received a copy of the GNU General Public License along</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *  with the IgH EtherCAT Master; if not, write to the Free Software</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *  ---</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *  The license mentioned above concerns the source code only. Using the</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *  EtherCAT technology and brand is only permitted in compliance with the</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *  industrial property and similar rights of Beckhoff Automation GmbH.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef __EC_SLAVE_H__</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define __EC_SLAVE_H__</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;linux/list.h&gt;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;linux/kobject.h&gt;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="globals_8h.html">globals.h</a>&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="datagram_8h.html">datagram.h</a>&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="pdo_8h.html">pdo.h</a>&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sync_8h.html">sync.h</a>&quot;</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sdo_8h.html">sdo.h</a>&quot;</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fsm__slave_8h.html">fsm_slave.h</a>&quot;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="slave_8h.html#af7d7537e5ba790ca327223cb92318eed">   62</a></span>&#160;<span class="preprocessor">#define EC_SLAVE_INFO(slave, fmt, args...) \</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">    printk(KERN_INFO &quot;EtherCAT %u-%u: &quot; fmt, slave-&gt;master-&gt;index, \</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">            slave-&gt;ring_position, ##args)</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="slave_8h.html#a39519c3172e4196e40fa9006fb801612">   76</a></span>&#160;<span class="preprocessor">#define EC_SLAVE_ERR(slave, fmt, args...) \</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">    printk(KERN_ERR &quot;EtherCAT ERROR %u-%u: &quot; fmt, slave-&gt;master-&gt;index, \</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">            slave-&gt;ring_position, ##args)</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="slave_8h.html#aae2995e6509df66255d8f7fcdb5eb5bb">   90</a></span>&#160;<span class="preprocessor">#define EC_SLAVE_WARN(slave, fmt, args...) \</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">    printk(KERN_WARNING &quot;EtherCAT WARNING %u-%u: &quot; fmt, \</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">            slave-&gt;master-&gt;index, slave-&gt;ring_position, ##args)</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="slave_8h.html#a349fb5dcd0bac7fc2324d3da89aa4751">  106</a></span>&#160;<span class="preprocessor">#define EC_SLAVE_DBG(slave, level, fmt, args...) \</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">    do { \</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">        if (slave-&gt;master-&gt;debug_level &gt;= level) { \</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">            printk(KERN_DEBUG &quot;EtherCAT DEBUG %u-%u: &quot; fmt, \</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">                    slave-&gt;master-&gt;index, slave-&gt;ring_position, ##args); \</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">        } \</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">    } while (0)</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structec__slave__port__t.html">  118</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structec__slave__port__t.html#ae10a313d7421e3b4b7924c295075fc9c">  119</a></span>&#160;    <a class="code" href="group__ApplicationInterface.html#ga15640cfae27efdf73d687ea4f9a03338">ec_slave_port_desc_t</a> <a class="code" href="structec__slave__port__t.html#ae10a313d7421e3b4b7924c295075fc9c">desc</a>; </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structec__slave__port__t.html#ad29b2a093c816ae85986cf5fb9e9d6dd">  120</a></span>&#160;    <a class="code" href="structec__slave__port__link__t.html">ec_slave_port_link_t</a> <a class="code" href="structec__slave__port__t.html#ad29b2a093c816ae85986cf5fb9e9d6dd">link</a>; </div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structec__slave__port__t.html#aa3ffc650817b6ca241bae9a9232f055d">  121</a></span>&#160;    <a class="code" href="structec__slave.html">ec_slave_t</a> *<a class="code" href="structec__slave__port__t.html#aa3ffc650817b6ca241bae9a9232f055d">next_slave</a>; </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structec__slave__port__t.html#a4e7c3832a518186c4f1a5bc32a192eb9">  122</a></span>&#160;    uint32_t <a class="code" href="structec__slave__port__t.html#a4e7c3832a518186c4f1a5bc32a192eb9">receive_time</a>; </div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structec__slave__port__t.html#ad9c8ad9fc7ebd5681eb72951b1716cc5">  124</a></span>&#160;    uint32_t <a class="code" href="structec__slave__port__t.html#ad9c8ad9fc7ebd5681eb72951b1716cc5">delay_to_next_dc</a>; </div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;} <a class="code" href="structec__slave__port__t.html">ec_slave_port_t</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structec__sii__t.html">  132</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="comment">// Non-category data</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a1f222ffbedb48380a833e94fe9a08a8b">  134</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#a1f222ffbedb48380a833e94fe9a08a8b">alias</a>; </div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structec__sii__t.html#ad185baf2f7711424507c20f6e96b7014">  135</a></span>&#160;    uint32_t <a class="code" href="structec__sii__t.html#ad185baf2f7711424507c20f6e96b7014">vendor_id</a>; </div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a69a301c8203300eddd299807a617ad03">  136</a></span>&#160;    uint32_t <a class="code" href="structec__sii__t.html#a69a301c8203300eddd299807a617ad03">product_code</a>; </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="structec__sii__t.html#aa79fdd16cea2f20a85510260d76005b2">  137</a></span>&#160;    uint32_t <a class="code" href="structec__sii__t.html#aa79fdd16cea2f20a85510260d76005b2">revision_number</a>; </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a439dea178e64634c3821493384d8d9e1">  138</a></span>&#160;    uint32_t <a class="code" href="structec__sii__t.html#a439dea178e64634c3821493384d8d9e1">serial_number</a>; </div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structec__sii__t.html#abdcbea468841ca94492bae78207b1282">  139</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#abdcbea468841ca94492bae78207b1282">boot_rx_mailbox_offset</a>; </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structec__sii__t.html#aa5e4828a5bb2ea45194de12fe48608ed">  140</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#aa5e4828a5bb2ea45194de12fe48608ed">boot_rx_mailbox_size</a>; </div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a91d2fc76e5e4b634e130aa9e51e71bfc">  141</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#a91d2fc76e5e4b634e130aa9e51e71bfc">boot_tx_mailbox_offset</a>; </div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a65ead35255e661f345c9d15033347b10">  142</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#a65ead35255e661f345c9d15033347b10">boot_tx_mailbox_size</a>; </div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a0172b2d04dcbc56d75abc1efa76dd392">  143</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#a0172b2d04dcbc56d75abc1efa76dd392">std_rx_mailbox_offset</a>; </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structec__sii__t.html#abcdfe5aa59f2fcbf9deaa4d1a9c954fe">  144</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#abcdfe5aa59f2fcbf9deaa4d1a9c954fe">std_rx_mailbox_size</a>; </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structec__sii__t.html#aa5c8f21c36995d272bc456266e035815">  145</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#aa5c8f21c36995d272bc456266e035815">std_tx_mailbox_offset</a>; </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a47eb676cee305c53f5fec378bc95c68d">  146</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#a47eb676cee305c53f5fec378bc95c68d">std_tx_mailbox_size</a>; </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a7740732efd267741b956b8912502d8a1">  147</a></span>&#160;    uint16_t <a class="code" href="structec__sii__t.html#a7740732efd267741b956b8912502d8a1">mailbox_protocols</a>; </div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="comment">// Strings</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a74ade311e8937d005c486a1a68cd8744">  150</a></span>&#160;    <span class="keywordtype">char</span> **<a class="code" href="structec__sii__t.html#a74ade311e8937d005c486a1a68cd8744">strings</a>; </div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a4bfc0157c4dfaad31b7330aa5f515c5a">  151</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__sii__t.html#a4bfc0157c4dfaad31b7330aa5f515c5a">string_count</a>; </div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="comment">// General</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="structec__sii__t.html#ac9a082bcb14f1d40aa7a2ee278a4a912">  154</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__sii__t.html#ac9a082bcb14f1d40aa7a2ee278a4a912">has_general</a>; </div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a0ac2c5757ef583a6b3e8a8c0ddffbd9f">  155</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structec__sii__t.html#a0ac2c5757ef583a6b3e8a8c0ddffbd9f">group</a>; </div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a505df193133b999f2c073260648b5359">  156</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structec__sii__t.html#a505df193133b999f2c073260648b5359">image</a>; </div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a26e505154880d387b75d4d9f52181223">  157</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structec__sii__t.html#a26e505154880d387b75d4d9f52181223">order</a>; </div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structec__sii__t.html#ae4a7f50f715570d1cbfce538ab7828d9">  158</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structec__sii__t.html#ae4a7f50f715570d1cbfce538ab7828d9">name</a>; </div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="structec__sii__t.html#afa995764cc295a2de209b27f2ac07f85">  159</a></span>&#160;    uint8_t physical_layer[<a class="code" href="group__ApplicationInterface.html#ga1982934cef716e45eefeba57c9d6e3ff">EC_MAX_PORTS</a>]; </div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a7896df4d79afdb971b9817d41fbb847e">  160</a></span>&#160;    <a class="code" href="structec__sii__coe__details__t.html">ec_sii_coe_details_t</a> <a class="code" href="structec__sii__t.html#a7896df4d79afdb971b9817d41fbb847e">coe_details</a>; </div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a7ff70e83d0e1870bc344218f53f85aaf">  161</a></span>&#160;    <a class="code" href="structec__sii__general__flags__t.html">ec_sii_general_flags_t</a> <a class="code" href="structec__sii__t.html#a7ff70e83d0e1870bc344218f53f85aaf">general_flags</a>; </div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a67585e573f37806a5c34923354874838">  162</a></span>&#160;    int16_t <a class="code" href="structec__sii__t.html#a67585e573f37806a5c34923354874838">current_on_ebus</a>; </div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="comment">// SyncM</span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a1cfcfe4bdca850f302cbb8938affa7b9">  165</a></span>&#160;    <a class="code" href="structec__sync__t.html">ec_sync_t</a> *<a class="code" href="structec__sii__t.html#a1cfcfe4bdca850f302cbb8938affa7b9">syncs</a>; </div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="structec__sii__t.html#add5337cd03f09660a3bfe91e4047ed2c">  166</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__sii__t.html#add5337cd03f09660a3bfe91e4047ed2c">sync_count</a>; </div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="comment">// [RT]XPDO</span></div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structec__sii__t.html#a769c826981c5b3d1ee52245131537b15">  169</a></span>&#160;    <span class="keyword">struct </span>list_head pdos; </div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;} <a class="code" href="structec__sii__t.html">ec_sii_t</a>;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="structec__slave.html">  176</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structec__slave.html">ec_slave</a></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;{</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="structec__slave.html#ae3ca485627d212610814bf4e0130eddd">  178</a></span>&#160;    <a class="code" href="structec__master.html">ec_master_t</a> *<a class="code" href="structec__slave.html#ae3ca485627d212610814bf4e0130eddd">master</a>; </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structec__slave.html#adc17b41384e235c98b39f4ac49319d68">  179</a></span>&#160;    <a class="code" href="globals_8h.html#ad1a2101422888687598d7e1a630c6343">ec_device_index_t</a> <a class="code" href="structec__slave.html#adc17b41384e235c98b39f4ac49319d68">device_index</a>; </div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="comment">// addresses</span></div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structec__slave.html#a337a538c53fb9ac8bcfb951fd445e0a1">  183</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#a337a538c53fb9ac8bcfb951fd445e0a1">ring_position</a>; </div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="structec__slave.html#ae4c26b32979bcb21cf391ca3b170d701">  184</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#ae4c26b32979bcb21cf391ca3b170d701">station_address</a>; </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structec__slave.html#a954d95e8464b5dcb7084463d00760291">  185</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#a954d95e8464b5dcb7084463d00760291">effective_alias</a>; </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="structec__slave.html#a0dc49f089a749f49fcce90007063ed85">  187</a></span>&#160;    <a class="code" href="structec__slave__port__t.html">ec_slave_port_t</a> ports[<a class="code" href="group__ApplicationInterface.html#ga1982934cef716e45eefeba57c9d6e3ff">EC_MAX_PORTS</a>]; </div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <span class="comment">// configuration</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structec__slave.html#a35616766fc7afbd4fc0b8a5d5a652bf7">  190</a></span>&#160;    <a class="code" href="structec__slave__config.html">ec_slave_config_t</a> *<a class="code" href="structec__slave.html#a35616766fc7afbd4fc0b8a5d5a652bf7">config</a>; </div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="structec__slave.html#af81c1abd2ac2b8a5a5bfbbfe7d79ce70">  191</a></span>&#160;    <a class="code" href="globals_8h.html#a0e9c38c7520909d649fac451046dcde0">ec_slave_state_t</a> <a class="code" href="structec__slave.html#af81c1abd2ac2b8a5a5bfbbfe7d79ce70">requested_state</a>; </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="structec__slave.html#a6214f41ec1dce05b67b298b89a49e1f8">  192</a></span>&#160;    <a class="code" href="globals_8h.html#a0e9c38c7520909d649fac451046dcde0">ec_slave_state_t</a> <a class="code" href="structec__slave.html#a6214f41ec1dce05b67b298b89a49e1f8">current_state</a>; </div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="structec__slave.html#aef33c89d3974546f5aed153b379d0d24">  193</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__slave.html#aef33c89d3974546f5aed153b379d0d24">error_flag</a>; </div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="structec__slave.html#a0baba2f1593708191871119e3570655f">  194</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structec__slave.html#a0baba2f1593708191871119e3570655f">force_config</a>; </div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structec__slave.html#a885011c3377eacc3513c7806db9ea4d4">  195</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#a885011c3377eacc3513c7806db9ea4d4">configured_rx_mailbox_offset</a>; </div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structec__slave.html#a0310afbbf38da2a92cdbe3911a46535c">  197</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#a0310afbbf38da2a92cdbe3911a46535c">configured_rx_mailbox_size</a>; </div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="structec__slave.html#a365e2116bd54803112c56cb3a98970cb">  199</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#a365e2116bd54803112c56cb3a98970cb">configured_tx_mailbox_offset</a>; </div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="structec__slave.html#a79ecaa06844f2b8bf2d1b4d9bfae9207">  201</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#a79ecaa06844f2b8bf2d1b4d9bfae9207">configured_tx_mailbox_size</a>; </div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="comment">// base data</span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structec__slave.html#a942db00c8dc12ba78cd124b353945301">  204</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a942db00c8dc12ba78cd124b353945301">base_type</a>; </div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="structec__slave.html#a5346100cbd1fa0187ae3074d4a75d3cc">  205</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a5346100cbd1fa0187ae3074d4a75d3cc">base_revision</a>; </div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="structec__slave.html#afd680b0cb700169c2a97aa38c0fd0552">  206</a></span>&#160;    uint16_t <a class="code" href="structec__slave.html#afd680b0cb700169c2a97aa38c0fd0552">base_build</a>; </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="structec__slave.html#a45adb760f44d08fcab9c81d6022e0bad">  207</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a45adb760f44d08fcab9c81d6022e0bad">base_fmmu_count</a>; </div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="structec__slave.html#aa4d67d55717398c4f25d379ede390d5d">  208</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#aa4d67d55717398c4f25d379ede390d5d">base_sync_count</a>; </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="structec__slave.html#a39d39fe2e87602de4629cfbdb0106929">  209</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a39d39fe2e87602de4629cfbdb0106929">base_fmmu_bit_operation</a>; </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structec__slave.html#a2b02f5e40a79f9b6213dde898a10b873">  210</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a2b02f5e40a79f9b6213dde898a10b873">base_dc_supported</a>; </div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="structec__slave.html#a8bc5c82a2467c31b4c427fe4c56cb544">  211</a></span>&#160;    <a class="code" href="globals_8h.html#a5cbf78c1663f1a9ba4d69b816bcd00f7">ec_slave_dc_range_t</a> <a class="code" href="structec__slave.html#a8bc5c82a2467c31b4c427fe4c56cb544">base_dc_range</a>; </div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="structec__slave.html#a65fba9aad1f196c6c43ba7dceecc15dd">  212</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a65fba9aad1f196c6c43ba7dceecc15dd">has_dc_system_time</a>; </div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="structec__slave.html#a0e5d719413436f927eba7320ee565125">  215</a></span>&#160;    uint32_t <a class="code" href="structec__slave.html#a0e5d719413436f927eba7320ee565125">transmission_delay</a>; </div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="comment">// SII</span></div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="structec__slave.html#a3886920f38a9b5a97c1d50f3c08e989a">  219</a></span>&#160;    uint16_t *<a class="code" href="structec__slave.html#a3886920f38a9b5a97c1d50f3c08e989a">sii_words</a>; </div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structec__slave.html#a9b6ee3261f586d6c30647b1494da0f57">  220</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structec__slave.html#a9b6ee3261f586d6c30647b1494da0f57">sii_nwords</a>; </div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="comment">// Slave information interface</span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structec__slave.html#a081433f5a30f9352fbc4363093ae1e16">  223</a></span>&#160;    <a class="code" href="structec__sii__t.html">ec_sii_t</a> <a class="code" href="structec__slave.html#a081433f5a30f9352fbc4363093ae1e16">sii</a>; </div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="structec__slave.html#a2754265971634ba5f97ce28fc1029d58">  225</a></span>&#160;    <span class="keyword">struct </span>list_head sdo_dictionary; </div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="structec__slave.html#a94732ef500405ce3afa15f6aeef4918d">  226</a></span>&#160;    uint8_t <a class="code" href="structec__slave.html#a94732ef500405ce3afa15f6aeef4918d">sdo_dictionary_fetched</a>; </div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="structec__slave.html#af177795f6287be576f617772d18e3dee">  227</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="structec__slave.html#af177795f6287be576f617772d18e3dee">jiffies_preop</a>; </div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="structec__slave.html#a6cbec4e34923f5b25fecdbd166a8328a">  229</a></span>&#160;    <span class="keyword">struct </span>list_head sdo_requests; </div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="structec__slave.html#a614562e4df0afc3707515ae9f1df0ffc">  230</a></span>&#160;    <span class="keyword">struct </span>list_head reg_requests; </div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="structec__slave.html#a374ce6a1879d81ca54496be994b9e46e">  231</a></span>&#160;    <span class="keyword">struct </span>list_head foe_requests; </div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="structec__slave.html#a85daad41c4862aa0de137a3c927abac8">  232</a></span>&#160;    <span class="keyword">struct </span>list_head soe_requests; </div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="structec__slave.html#aecb677b730d579c8eeeaa83a432a74a8">  234</a></span>&#160;    <a class="code" href="structec__fsm__slave.html">ec_fsm_slave_t</a> <a class="code" href="structec__slave.html#aecb677b730d579c8eeeaa83a432a74a8">fsm</a>; </div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;};</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="comment">// slave construction/destruction</span></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#a30d1f46dd9536cd249c3d5010262ffda">ec_slave_init</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <a class="code" href="structec__master.html">ec_master_t</a> *, <a class="code" href="globals_8h.html#ad1a2101422888687598d7e1a630c6343">ec_device_index_t</a>,</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        uint16_t, uint16_t);</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#ac408923ca73c5e811edbe3ca9026cad7">ec_slave_clear</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *);</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#a75ddcc7d265095322850d243007602b2">ec_slave_clear_sync_managers</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *);</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#a8b3d447dd21d0888959a5a3691597e77">ec_slave_request_state</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <a class="code" href="globals_8h.html#a0e9c38c7520909d649fac451046dcde0">ec_slave_state_t</a>);</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#aaede3967b1b6c24a513006654b85ca8a">ec_slave_set_state</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <a class="code" href="globals_8h.html#a0e9c38c7520909d649fac451046dcde0">ec_slave_state_t</a>);</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment">// SII categories</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="keywordtype">int</span> <a class="code" href="slave_8h.html#aae4c4f075c98de7dc270649e95b8c51e">ec_slave_fetch_sii_strings</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <span class="keyword">const</span> uint8_t *, <span class="keywordtype">size_t</span>);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="keywordtype">int</span> <a class="code" href="slave_8h.html#abdf593b5573d120f6246519dcf6e3be7">ec_slave_fetch_sii_general</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <span class="keyword">const</span> uint8_t *, <span class="keywordtype">size_t</span>);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="keywordtype">int</span> <a class="code" href="slave_8h.html#a203a4694b2532a0842f194d937652034">ec_slave_fetch_sii_syncs</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <span class="keyword">const</span> uint8_t *, <span class="keywordtype">size_t</span>);</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="keywordtype">int</span> <a class="code" href="slave_8h.html#a15d3455e6776aed45550510c6eb69385">ec_slave_fetch_sii_pdos</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, <span class="keyword">const</span> uint8_t *, <span class="keywordtype">size_t</span>,</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        <a class="code" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a>);</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="comment">// misc.</span></div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<a class="code" href="structec__sync__t.html">ec_sync_t</a> *<a class="code" href="slave_8h.html#a0739ace7f4222952c5c539b8a508c994">ec_slave_get_sync</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, uint8_t);</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#a42809dba180f305491cc16c036c22f0a">ec_slave_sdo_dict_info</a>(<span class="keyword">const</span> <a class="code" href="structec__slave.html">ec_slave_t</a> *,</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *);</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<a class="code" href="structec__sdo.html">ec_sdo_t</a> *<a class="code" href="slave_8h.html#a2f99eebce71e4d7b4d5df85b6ff4af77">ec_slave_get_sdo</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, uint16_t);</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="keyword">const</span> <a class="code" href="structec__sdo.html">ec_sdo_t</a> *<a class="code" href="slave_8h.html#a3de8de7255e5d8eecb3f09260b5c3202">ec_slave_get_sdo_const</a>(<span class="keyword">const</span> <a class="code" href="structec__slave.html">ec_slave_t</a> *, uint16_t);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="keyword">const</span> <a class="code" href="structec__sdo.html">ec_sdo_t</a> *<a class="code" href="slave_8h.html#aadf6c239dfe7541b45ae606c113b12b8">ec_slave_get_sdo_by_pos_const</a>(<span class="keyword">const</span> <a class="code" href="structec__slave.html">ec_slave_t</a> *, uint16_t);</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;uint16_t <a class="code" href="slave_8h.html#a199062aeaa6a827c0e1d271d231d42d1">ec_slave_sdo_count</a>(<span class="keyword">const</span> <a class="code" href="structec__slave.html">ec_slave_t</a> *);</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="keyword">const</span> <a class="code" href="structec__pdo__t.html">ec_pdo_t</a> *<a class="code" href="slave_8h.html#a06a2845458cd7a266fde26a9c406ed36">ec_slave_find_pdo</a>(<span class="keyword">const</span> <a class="code" href="structec__slave.html">ec_slave_t</a> *, uint16_t);</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#a19149abe080d35cfd2e6bd6f6bef00b1">ec_slave_attach_pdo_names</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *);</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#abe9fa7fdd6ee65108792f13eaa574d76">ec_slave_calc_port_delays</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *);</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="keywordtype">void</span> <a class="code" href="slave_8h.html#aaecc00aabed001fb1b7ec6249007c0dd">ec_slave_calc_transmission_delays_rec</a>(<a class="code" href="structec__slave.html">ec_slave_t</a> *, uint32_t *);</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="comment">/*****************************************************************************/</span></div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structec__sii__t_html_a7ff70e83d0e1870bc344218f53f85aaf"><div class="ttname"><a href="structec__sii__t.html#a7ff70e83d0e1870bc344218f53f85aaf">ec_sii_t::general_flags</a></div><div class="ttdeci">ec_sii_general_flags_t general_flags</div><div class="ttdoc">General flags. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00161">slave.h:161</a></div></div>
<div class="ttc" id="structec__sii__general__flags__t_html"><div class="ttname"><a href="structec__sii__general__flags__t.html">ec_sii_general_flags_t</a></div><div class="ttdoc">Slave information interface general flags. </div><div class="ttdef"><b>Definition:</b> <a href="globals_8h_source.html#l00168">globals.h:168</a></div></div>
<div class="ttc" id="structec__slave_html_a337a538c53fb9ac8bcfb951fd445e0a1"><div class="ttname"><a href="structec__slave.html#a337a538c53fb9ac8bcfb951fd445e0a1">ec_slave::ring_position</a></div><div class="ttdeci">uint16_t ring_position</div><div class="ttdoc">Ring position. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00183">slave.h:183</a></div></div>
<div class="ttc" id="structec__sii__t_html_aa79fdd16cea2f20a85510260d76005b2"><div class="ttname"><a href="structec__sii__t.html#aa79fdd16cea2f20a85510260d76005b2">ec_sii_t::revision_number</a></div><div class="ttdeci">uint32_t revision_number</div><div class="ttdoc">Revision number. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00137">slave.h:137</a></div></div>
<div class="ttc" id="structec__sii__t_html_abdcbea468841ca94492bae78207b1282"><div class="ttname"><a href="structec__sii__t.html#abdcbea468841ca94492bae78207b1282">ec_sii_t::boot_rx_mailbox_offset</a></div><div class="ttdeci">uint16_t boot_rx_mailbox_offset</div><div class="ttdoc">Bootstrap receive mailbox address. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00139">slave.h:139</a></div></div>
<div class="ttc" id="structec__slave_html_a081433f5a30f9352fbc4363093ae1e16"><div class="ttname"><a href="structec__slave.html#a081433f5a30f9352fbc4363093ae1e16">ec_slave::sii</a></div><div class="ttdeci">ec_sii_t sii</div><div class="ttdoc">Extracted SII data. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00223">slave.h:223</a></div></div>
<div class="ttc" id="slave_8h_html_aaede3967b1b6c24a513006654b85ca8a"><div class="ttname"><a href="slave_8h.html#aaede3967b1b6c24a513006654b85ca8a">ec_slave_set_state</a></div><div class="ttdeci">void ec_slave_set_state(ec_slave_t *, ec_slave_state_t)</div><div class="ttdoc">Sets the application state of a slave. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00274">slave.c:274</a></div></div>
<div class="ttc" id="slave_8h_html_a203a4694b2532a0842f194d937652034"><div class="ttname"><a href="slave_8h.html#a203a4694b2532a0842f194d937652034">ec_slave_fetch_sii_syncs</a></div><div class="ttdeci">int ec_slave_fetch_sii_syncs(ec_slave_t *, const uint8_t *, size_t)</div><div class="ttdoc">Fetches data from a SYNC MANAGER category. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00419">slave.c:419</a></div></div>
<div class="ttc" id="structec__slave_html_a79ecaa06844f2b8bf2d1b4d9bfae9207"><div class="ttname"><a href="structec__slave.html#a79ecaa06844f2b8bf2d1b4d9bfae9207">ec_slave::configured_tx_mailbox_size</a></div><div class="ttdeci">uint16_t configured_tx_mailbox_size</div><div class="ttdoc">Configured send mailbox size. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00201">slave.h:201</a></div></div>
<div class="ttc" id="structec__slave_html_afd680b0cb700169c2a97aa38c0fd0552"><div class="ttname"><a href="structec__slave.html#afd680b0cb700169c2a97aa38c0fd0552">ec_slave::base_build</a></div><div class="ttdeci">uint16_t base_build</div><div class="ttdoc">Build number. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00206">slave.h:206</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga15640cfae27efdf73d687ea4f9a03338"><div class="ttname"><a href="group__ApplicationInterface.html#ga15640cfae27efdf73d687ea4f9a03338">ec_slave_port_desc_t</a></div><div class="ttdeci">ec_slave_port_desc_t</div><div class="ttdoc">EtherCAT slave port descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00339">ecrt.h:339</a></div></div>
<div class="ttc" id="slave_8h_html_a8b3d447dd21d0888959a5a3691597e77"><div class="ttname"><a href="slave_8h.html#a8b3d447dd21d0888959a5a3691597e77">ec_slave_request_state</a></div><div class="ttdeci">void ec_slave_request_state(ec_slave_t *, ec_slave_state_t)</div><div class="ttdoc">Request a slave state and resets the error flag. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00296">slave.c:296</a></div></div>
<div class="ttc" id="structec__slave_html_a365e2116bd54803112c56cb3a98970cb"><div class="ttname"><a href="structec__slave.html#a365e2116bd54803112c56cb3a98970cb">ec_slave::configured_tx_mailbox_offset</a></div><div class="ttdeci">uint16_t configured_tx_mailbox_offset</div><div class="ttdoc">Configured send mailbox offset. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00199">slave.h:199</a></div></div>
<div class="ttc" id="structec__slave_html_a6214f41ec1dce05b67b298b89a49e1f8"><div class="ttname"><a href="structec__slave.html#a6214f41ec1dce05b67b298b89a49e1f8">ec_slave::current_state</a></div><div class="ttdeci">ec_slave_state_t current_state</div><div class="ttdoc">Current application state. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00192">slave.h:192</a></div></div>
<div class="ttc" id="slave_8h_html_a0739ace7f4222952c5c539b8a508c994"><div class="ttname"><a href="slave_8h.html#a0739ace7f4222952c5c539b8a508c994">ec_slave_get_sync</a></div><div class="ttdeci">ec_sync_t * ec_slave_get_sync(ec_slave_t *, uint8_t)</div><div class="ttdoc">Get the sync manager given an index. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00590">slave.c:590</a></div></div>
<div class="ttc" id="structec__slave__port__t_html_ad29b2a093c816ae85986cf5fb9e9d6dd"><div class="ttname"><a href="structec__slave__port__t.html#ad29b2a093c816ae85986cf5fb9e9d6dd">ec_slave_port_t::link</a></div><div class="ttdeci">ec_slave_port_link_t link</div><div class="ttdoc">Port link status. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00120">slave.h:120</a></div></div>
<div class="ttc" id="structec__sii__t_html_a439dea178e64634c3821493384d8d9e1"><div class="ttname"><a href="structec__sii__t.html#a439dea178e64634c3821493384d8d9e1">ec_sii_t::serial_number</a></div><div class="ttdeci">uint32_t serial_number</div><div class="ttdoc">Serial number. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00138">slave.h:138</a></div></div>
<div class="ttc" id="slave_8h_html_a06a2845458cd7a266fde26a9c406ed36"><div class="ttname"><a href="slave_8h.html#a06a2845458cd7a266fde26a9c406ed36">ec_slave_find_pdo</a></div><div class="ttdeci">const ec_pdo_t * ec_slave_find_pdo(const ec_slave_t *, uint16_t)</div><div class="ttdoc">Finds a mapped PDO. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00725">slave.c:725</a></div></div>
<div class="ttc" id="structec__sii__t_html_a7896df4d79afdb971b9817d41fbb847e"><div class="ttname"><a href="structec__sii__t.html#a7896df4d79afdb971b9817d41fbb847e">ec_sii_t::coe_details</a></div><div class="ttdeci">ec_sii_coe_details_t coe_details</div><div class="ttdoc">CoE detail flags. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00160">slave.h:160</a></div></div>
<div class="ttc" id="structec__sii__t_html_a26e505154880d387b75d4d9f52181223"><div class="ttname"><a href="structec__sii__t.html#a26e505154880d387b75d4d9f52181223">ec_sii_t::order</a></div><div class="ttdeci">char * order</div><div class="ttdoc">Order number. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00157">slave.h:157</a></div></div>
<div class="ttc" id="slave_8h_html_abdf593b5573d120f6246519dcf6e3be7"><div class="ttname"><a href="slave_8h.html#abdf593b5573d120f6246519dcf6e3be7">ec_slave_fetch_sii_general</a></div><div class="ttdeci">int ec_slave_fetch_sii_general(ec_slave_t *, const uint8_t *, size_t)</div><div class="ttdoc">Fetches data from a GENERAL category. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00368">slave.c:368</a></div></div>
<div class="ttc" id="structec__fsm__slave_html"><div class="ttname"><a href="structec__fsm__slave.html">ec_fsm_slave</a></div><div class="ttdoc">Finite state machine of an EtherCAT slave. </div><div class="ttdef"><b>Definition:</b> <a href="fsm__slave_8h_source.html#l00054">fsm_slave.h:54</a></div></div>
<div class="ttc" id="structec__slave_html_aecb677b730d579c8eeeaa83a432a74a8"><div class="ttname"><a href="structec__slave.html#aecb677b730d579c8eeeaa83a432a74a8">ec_slave::fsm</a></div><div class="ttdeci">ec_fsm_slave_t fsm</div><div class="ttdoc">Slave state machine. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00234">slave.h:234</a></div></div>
<div class="ttc" id="structec__sdo_html"><div class="ttname"><a href="structec__sdo.html">ec_sdo</a></div><div class="ttdoc">CANopen SDO. </div><div class="ttdef"><b>Definition:</b> <a href="sdo_8h_source.html#l00049">sdo.h:49</a></div></div>
<div class="ttc" id="structec__sii__t_html_a67585e573f37806a5c34923354874838"><div class="ttname"><a href="structec__sii__t.html#a67585e573f37806a5c34923354874838">ec_sii_t::current_on_ebus</a></div><div class="ttdeci">int16_t current_on_ebus</div><div class="ttdoc">Power consumption in mA. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00162">slave.h:162</a></div></div>
<div class="ttc" id="structec__sii__t_html_a65ead35255e661f345c9d15033347b10"><div class="ttname"><a href="structec__sii__t.html#a65ead35255e661f345c9d15033347b10">ec_sii_t::boot_tx_mailbox_size</a></div><div class="ttdeci">uint16_t boot_tx_mailbox_size</div><div class="ttdoc">Bootstrap transmit mailbox size. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00142">slave.h:142</a></div></div>
<div class="ttc" id="structec__slave__port__link__t_html"><div class="ttname"><a href="structec__slave__port__link__t.html">ec_slave_port_link_t</a></div><div class="ttdoc">EtherCAT slave port information. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00350">ecrt.h:350</a></div></div>
<div class="ttc" id="structec__slave_html_ae4c26b32979bcb21cf391ca3b170d701"><div class="ttname"><a href="structec__slave.html#ae4c26b32979bcb21cf391ca3b170d701">ec_slave::station_address</a></div><div class="ttdeci">uint16_t station_address</div><div class="ttdoc">Configured station address. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00184">slave.h:184</a></div></div>
<div class="ttc" id="structec__sii__t_html_add5337cd03f09660a3bfe91e4047ed2c"><div class="ttname"><a href="structec__sii__t.html#add5337cd03f09660a3bfe91e4047ed2c">ec_sii_t::sync_count</a></div><div class="ttdeci">unsigned int sync_count</div><div class="ttdoc">Number of sync managers. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00166">slave.h:166</a></div></div>
<div class="ttc" id="structec__sii__t_html_abcdfe5aa59f2fcbf9deaa4d1a9c954fe"><div class="ttname"><a href="structec__sii__t.html#abcdfe5aa59f2fcbf9deaa4d1a9c954fe">ec_sii_t::std_rx_mailbox_size</a></div><div class="ttdeci">uint16_t std_rx_mailbox_size</div><div class="ttdoc">Standard receive mailbox size. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00144">slave.h:144</a></div></div>
<div class="ttc" id="structec__slave_html_a942db00c8dc12ba78cd124b353945301"><div class="ttname"><a href="structec__slave.html#a942db00c8dc12ba78cd124b353945301">ec_slave::base_type</a></div><div class="ttdeci">uint8_t base_type</div><div class="ttdoc">Slave type. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00204">slave.h:204</a></div></div>
<div class="ttc" id="slave_8h_html_a3de8de7255e5d8eecb3f09260b5c3202"><div class="ttname"><a href="slave_8h.html#a3de8de7255e5d8eecb3f09260b5c3202">ec_slave_get_sdo_const</a></div><div class="ttdeci">const ec_sdo_t * ec_slave_get_sdo_const(const ec_slave_t *, uint16_t)</div><div class="ttdoc">Get an SDO from the dictionary. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00662">slave.c:662</a></div></div>
<div class="ttc" id="slave_8h_html_a15d3455e6776aed45550510c6eb69385"><div class="ttname"><a href="slave_8h.html#a15d3455e6776aed45550510c6eb69385">ec_slave_fetch_sii_pdos</a></div><div class="ttdeci">int ec_slave_fetch_sii_pdos(ec_slave_t *, const uint8_t *, size_t, ec_direction_t)</div><div class="ttdoc">Fetches data from a [RT]xPDO category. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00485">slave.c:485</a></div></div>
<div class="ttc" id="globals_8h_html"><div class="ttname"><a href="globals_8h.html">globals.h</a></div><div class="ttdoc">Global definitions and macros. </div></div>
<div class="ttc" id="structec__sii__t_html_aa5c8f21c36995d272bc456266e035815"><div class="ttname"><a href="structec__sii__t.html#aa5c8f21c36995d272bc456266e035815">ec_sii_t::std_tx_mailbox_offset</a></div><div class="ttdeci">uint16_t std_tx_mailbox_offset</div><div class="ttdoc">Standard transmit mailbox address. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00145">slave.h:145</a></div></div>
<div class="ttc" id="structec__sii__t_html_a91d2fc76e5e4b634e130aa9e51e71bfc"><div class="ttname"><a href="structec__sii__t.html#a91d2fc76e5e4b634e130aa9e51e71bfc">ec_sii_t::boot_tx_mailbox_offset</a></div><div class="ttdeci">uint16_t boot_tx_mailbox_offset</div><div class="ttdoc">Bootstrap transmit mailbox address. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00141">slave.h:141</a></div></div>
<div class="ttc" id="slave_8h_html_a30d1f46dd9536cd249c3d5010262ffda"><div class="ttname"><a href="slave_8h.html#a30d1f46dd9536cd249c3d5010262ffda">ec_slave_init</a></div><div class="ttdeci">void ec_slave_init(ec_slave_t *, ec_master_t *, ec_device_index_t, uint16_t, uint16_t)</div><div class="ttdoc">Slave constructor. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00062">slave.c:62</a></div></div>
<div class="ttc" id="structec__slave_html"><div class="ttname"><a href="structec__slave.html">ec_slave</a></div><div class="ttdoc">EtherCAT slave. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00176">slave.h:176</a></div></div>
<div class="ttc" id="slave_8h_html_a199062aeaa6a827c0e1d271d231d42d1"><div class="ttname"><a href="slave_8h.html#a199062aeaa6a827c0e1d271d231d42d1">ec_slave_sdo_count</a></div><div class="ttdeci">uint16_t ec_slave_sdo_count(const ec_slave_t *)</div><div class="ttdoc">Get the number of SDOs in the dictionary. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00706">slave.c:706</a></div></div>
<div class="ttc" id="structec__sii__coe__details__t_html"><div class="ttname"><a href="structec__sii__coe__details__t.html">ec_sii_coe_details_t</a></div><div class="ttdoc">Slave information interface CANopen over EtherCAT details flags. </div><div class="ttdef"><b>Definition:</b> <a href="globals_8h_source.html#l00157">globals.h:157</a></div></div>
<div class="ttc" id="structec__slave_html_a35616766fc7afbd4fc0b8a5d5a652bf7"><div class="ttname"><a href="structec__slave.html#a35616766fc7afbd4fc0b8a5d5a652bf7">ec_slave::config</a></div><div class="ttdeci">ec_slave_config_t * config</div><div class="ttdoc">Current configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00190">slave.h:190</a></div></div>
<div class="ttc" id="structec__pdo__t_html"><div class="ttname"><a href="structec__pdo__t.html">ec_pdo_t</a></div><div class="ttdoc">PDO description. </div><div class="ttdef"><b>Definition:</b> <a href="pdo_8h_source.html#l00049">pdo.h:49</a></div></div>
<div class="ttc" id="structec__slave_html_a94732ef500405ce3afa15f6aeef4918d"><div class="ttname"><a href="structec__slave.html#a94732ef500405ce3afa15f6aeef4918d">ec_slave::sdo_dictionary_fetched</a></div><div class="ttdeci">uint8_t sdo_dictionary_fetched</div><div class="ttdoc">Dictionary has been fetched. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00226">slave.h:226</a></div></div>
<div class="ttc" id="structec__slave_html_a3886920f38a9b5a97c1d50f3c08e989a"><div class="ttname"><a href="structec__slave.html#a3886920f38a9b5a97c1d50f3c08e989a">ec_slave::sii_words</a></div><div class="ttdeci">uint16_t * sii_words</div><div class="ttdoc">Complete SII image. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00219">slave.h:219</a></div></div>
<div class="ttc" id="structec__sii__t_html_a7740732efd267741b956b8912502d8a1"><div class="ttname"><a href="structec__sii__t.html#a7740732efd267741b956b8912502d8a1">ec_sii_t::mailbox_protocols</a></div><div class="ttdeci">uint16_t mailbox_protocols</div><div class="ttdoc">Supported mailbox protocols. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00147">slave.h:147</a></div></div>
<div class="ttc" id="structec__slave_html_a8bc5c82a2467c31b4c427fe4c56cb544"><div class="ttname"><a href="structec__slave.html#a8bc5c82a2467c31b4c427fe4c56cb544">ec_slave::base_dc_range</a></div><div class="ttdeci">ec_slave_dc_range_t base_dc_range</div><div class="ttdoc">DC range. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00211">slave.h:211</a></div></div>
<div class="ttc" id="structec__sync__t_html"><div class="ttname"><a href="structec__sync__t.html">ec_sync_t</a></div><div class="ttdoc">Sync manager. </div><div class="ttdef"><b>Definition:</b> <a href="sync_8h_source.html#l00047">sync.h:47</a></div></div>
<div class="ttc" id="structec__sii__t_html_a0172b2d04dcbc56d75abc1efa76dd392"><div class="ttname"><a href="structec__sii__t.html#a0172b2d04dcbc56d75abc1efa76dd392">ec_sii_t::std_rx_mailbox_offset</a></div><div class="ttdeci">uint16_t std_rx_mailbox_offset</div><div class="ttdoc">Standard receive mailbox address. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00143">slave.h:143</a></div></div>
<div class="ttc" id="structec__slave_html_a39d39fe2e87602de4629cfbdb0106929"><div class="ttname"><a href="structec__slave.html#a39d39fe2e87602de4629cfbdb0106929">ec_slave::base_fmmu_bit_operation</a></div><div class="ttdeci">uint8_t base_fmmu_bit_operation</div><div class="ttdoc">FMMU bit operation is supported. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00209">slave.h:209</a></div></div>
<div class="ttc" id="structec__slave_html_a0e5d719413436f927eba7320ee565125"><div class="ttname"><a href="structec__slave.html#a0e5d719413436f927eba7320ee565125">ec_slave::transmission_delay</a></div><div class="ttdeci">uint32_t transmission_delay</div><div class="ttdoc">DC system time transmission delay (offset from reference clock). </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00215">slave.h:215</a></div></div>
<div class="ttc" id="globals_8h_html_ad1a2101422888687598d7e1a630c6343"><div class="ttname"><a href="globals_8h.html#ad1a2101422888687598d7e1a630c6343">ec_device_index_t</a></div><div class="ttdeci">ec_device_index_t</div><div class="ttdoc">Master devices. </div><div class="ttdef"><b>Definition:</b> <a href="globals_8h_source.html#l00201">globals.h:201</a></div></div>
<div class="ttc" id="slave_8h_html_abe9fa7fdd6ee65108792f13eaa574d76"><div class="ttname"><a href="slave_8h.html#abe9fa7fdd6ee65108792f13eaa574d76">ec_slave_calc_port_delays</a></div><div class="ttdeci">void ec_slave_calc_port_delays(ec_slave_t *)</div><div class="ttdoc">Calculates the port transmission delays. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00922">slave.c:922</a></div></div>
<div class="ttc" id="structec__sii__t_html_a1f222ffbedb48380a833e94fe9a08a8b"><div class="ttname"><a href="structec__sii__t.html#a1f222ffbedb48380a833e94fe9a08a8b">ec_sii_t::alias</a></div><div class="ttdeci">uint16_t alias</div><div class="ttdoc">Configured station alias. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00134">slave.h:134</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga703c4e47384b3601e7605d6d910aaba1"><div class="ttname"><a href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a></div><div class="ttdeci">ec_direction_t</div><div class="ttdoc">Direction type for PDO assignment functions. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00417">ecrt.h:417</a></div></div>
<div class="ttc" id="structec__slave_html_a45adb760f44d08fcab9c81d6022e0bad"><div class="ttname"><a href="structec__slave.html#a45adb760f44d08fcab9c81d6022e0bad">ec_slave::base_fmmu_count</a></div><div class="ttdeci">uint8_t base_fmmu_count</div><div class="ttdoc">Number of supported FMMUs. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00207">slave.h:207</a></div></div>
<div class="ttc" id="structec__slave_html_a885011c3377eacc3513c7806db9ea4d4"><div class="ttname"><a href="structec__slave.html#a885011c3377eacc3513c7806db9ea4d4">ec_slave::configured_rx_mailbox_offset</a></div><div class="ttdeci">uint16_t configured_rx_mailbox_offset</div><div class="ttdoc">Configured receive mailbox offset. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00195">slave.h:195</a></div></div>
<div class="ttc" id="slave_8h_html_a75ddcc7d265095322850d243007602b2"><div class="ttname"><a href="slave_8h.html#a75ddcc7d265095322850d243007602b2">ec_slave_clear_sync_managers</a></div><div class="ttdeci">void ec_slave_clear_sync_managers(ec_slave_t *)</div><div class="ttdoc">Clear the sync manager array. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00255">slave.c:255</a></div></div>
<div class="ttc" id="globals_8h_html_a5cbf78c1663f1a9ba4d69b816bcd00f7"><div class="ttname"><a href="globals_8h.html#a5cbf78c1663f1a9ba4d69b816bcd00f7">ec_slave_dc_range_t</a></div><div class="ttdeci">ec_slave_dc_range_t</div><div class="ttdoc">EtherCAT slave distributed clocks range. </div><div class="ttdef"><b>Definition:</b> <a href="globals_8h_source.html#l00175">globals.h:175</a></div></div>
<div class="ttc" id="structec__slave__port__t_html_ae10a313d7421e3b4b7924c295075fc9c"><div class="ttname"><a href="structec__slave__port__t.html#ae10a313d7421e3b4b7924c295075fc9c">ec_slave_port_t::desc</a></div><div class="ttdeci">ec_slave_port_desc_t desc</div><div class="ttdoc">Port descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00119">slave.h:119</a></div></div>
<div class="ttc" id="structec__sii__t_html_a4bfc0157c4dfaad31b7330aa5f515c5a"><div class="ttname"><a href="structec__sii__t.html#a4bfc0157c4dfaad31b7330aa5f515c5a">ec_sii_t::string_count</a></div><div class="ttdeci">unsigned int string_count</div><div class="ttdoc">Number of SII strings. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00151">slave.h:151</a></div></div>
<div class="ttc" id="structec__slave_html_ae3ca485627d212610814bf4e0130eddd"><div class="ttname"><a href="structec__slave.html#ae3ca485627d212610814bf4e0130eddd">ec_slave::master</a></div><div class="ttdeci">ec_master_t * master</div><div class="ttdoc">Master owning the slave. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00178">slave.h:178</a></div></div>
<div class="ttc" id="structec__slave_html_a65fba9aad1f196c6c43ba7dceecc15dd"><div class="ttname"><a href="structec__slave.html#a65fba9aad1f196c6c43ba7dceecc15dd">ec_slave::has_dc_system_time</a></div><div class="ttdeci">uint8_t has_dc_system_time</div><div class="ttdoc">The slave supports the DC system time register. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00212">slave.h:212</a></div></div>
<div class="ttc" id="structec__sii__t_html_a74ade311e8937d005c486a1a68cd8744"><div class="ttname"><a href="structec__sii__t.html#a74ade311e8937d005c486a1a68cd8744">ec_sii_t::strings</a></div><div class="ttdeci">char ** strings</div><div class="ttdoc">Strings in SII categories. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00150">slave.h:150</a></div></div>
<div class="ttc" id="globals_8h_html_a0e9c38c7520909d649fac451046dcde0"><div class="ttname"><a href="globals_8h.html#a0e9c38c7520909d649fac451046dcde0">ec_slave_state_t</a></div><div class="ttdeci">ec_slave_state_t</div><div class="ttdoc">State of an EtherCAT slave. </div><div class="ttdef"><b>Definition:</b> <a href="globals_8h_source.html#l00127">globals.h:127</a></div></div>
<div class="ttc" id="slave_8h_html_ac408923ca73c5e811edbe3ca9026cad7"><div class="ttname"><a href="slave_8h.html#ac408923ca73c5e811edbe3ca9026cad7">ec_slave_clear</a></div><div class="ttdeci">void ec_slave_clear(ec_slave_t *)</div><div class="ttdoc">Slave destructor. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00170">slave.c:170</a></div></div>
<div class="ttc" id="datagram_8h_html"><div class="ttname"><a href="datagram_8h.html">datagram.h</a></div><div class="ttdoc">EtherCAT datagram structure. </div></div>
<div class="ttc" id="slave_8h_html_aaecc00aabed001fb1b7ec6249007c0dd"><div class="ttname"><a href="slave_8h.html#aaecc00aabed001fb1b7ec6249007c0dd">ec_slave_calc_transmission_delays_rec</a></div><div class="ttdeci">void ec_slave_calc_transmission_delays_rec(ec_slave_t *, uint32_t *)</div><div class="ttdoc">Recursively calculates transmission delays. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00968">slave.c:968</a></div></div>
<div class="ttc" id="slave_8h_html_a42809dba180f305491cc16c036c22f0a"><div class="ttname"><a href="slave_8h.html#a42809dba180f305491cc16c036c22f0a">ec_slave_sdo_dict_info</a></div><div class="ttdeci">void ec_slave_sdo_dict_info(const ec_slave_t *, unsigned int *, unsigned int *)</div><div class="ttdoc">Counts the total number of SDOs and entries in the dictionary. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00608">slave.c:608</a></div></div>
<div class="ttc" id="structec__slave_html_a5346100cbd1fa0187ae3074d4a75d3cc"><div class="ttname"><a href="structec__slave.html#a5346100cbd1fa0187ae3074d4a75d3cc">ec_slave::base_revision</a></div><div class="ttdeci">uint8_t base_revision</div><div class="ttdoc">Revision. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00205">slave.h:205</a></div></div>
<div class="ttc" id="structec__slave_html_a954d95e8464b5dcb7084463d00760291"><div class="ttname"><a href="structec__slave.html#a954d95e8464b5dcb7084463d00760291">ec_slave::effective_alias</a></div><div class="ttdeci">uint16_t effective_alias</div><div class="ttdoc">Effective alias address. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00185">slave.h:185</a></div></div>
<div class="ttc" id="structec__sii__t_html_aa5e4828a5bb2ea45194de12fe48608ed"><div class="ttname"><a href="structec__sii__t.html#aa5e4828a5bb2ea45194de12fe48608ed">ec_sii_t::boot_rx_mailbox_size</a></div><div class="ttdeci">uint16_t boot_rx_mailbox_size</div><div class="ttdoc">Bootstrap receive mailbox size. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00140">slave.h:140</a></div></div>
<div class="ttc" id="group__ApplicationInterface_html_ga1982934cef716e45eefeba57c9d6e3ff"><div class="ttname"><a href="group__ApplicationInterface.html#ga1982934cef716e45eefeba57c9d6e3ff">EC_MAX_PORTS</a></div><div class="ttdeci">#define EC_MAX_PORTS</div><div class="ttdoc">Maximum number of slave ports. </div><div class="ttdef"><b>Definition:</b> <a href="ecrt_8h_source.html#l00209">ecrt.h:209</a></div></div>
<div class="ttc" id="fsm__slave_8h_html"><div class="ttname"><a href="fsm__slave_8h.html">fsm_slave.h</a></div><div class="ttdoc">EtherCAT slave request state machine. </div></div>
<div class="ttc" id="structec__slave__port__t_html_aa3ffc650817b6ca241bae9a9232f055d"><div class="ttname"><a href="structec__slave__port__t.html#aa3ffc650817b6ca241bae9a9232f055d">ec_slave_port_t::next_slave</a></div><div class="ttdeci">ec_slave_t * next_slave</div><div class="ttdoc">Connected slaves. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00121">slave.h:121</a></div></div>
<div class="ttc" id="structec__slave__port__t_html_a4e7c3832a518186c4f1a5bc32a192eb9"><div class="ttname"><a href="structec__slave__port__t.html#a4e7c3832a518186c4f1a5bc32a192eb9">ec_slave_port_t::receive_time</a></div><div class="ttdeci">uint32_t receive_time</div><div class="ttdoc">Port receive times for delay measurement. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00122">slave.h:122</a></div></div>
<div class="ttc" id="sync_8h_html"><div class="ttname"><a href="sync_8h.html">sync.h</a></div><div class="ttdoc">EtherCAT sync manager. </div></div>
<div class="ttc" id="structec__slave__port__t_html"><div class="ttname"><a href="structec__slave__port__t.html">ec_slave_port_t</a></div><div class="ttdoc">Slave port. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00118">slave.h:118</a></div></div>
<div class="ttc" id="structec__sii__t_html_a505df193133b999f2c073260648b5359"><div class="ttname"><a href="structec__sii__t.html#a505df193133b999f2c073260648b5359">ec_sii_t::image</a></div><div class="ttdeci">char * image</div><div class="ttdoc">Image name. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00156">slave.h:156</a></div></div>
<div class="ttc" id="structec__slave_html_af177795f6287be576f617772d18e3dee"><div class="ttname"><a href="structec__slave.html#af177795f6287be576f617772d18e3dee">ec_slave::jiffies_preop</a></div><div class="ttdeci">unsigned long jiffies_preop</div><div class="ttdoc">Time, the slave went to PREOP. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00227">slave.h:227</a></div></div>
<div class="ttc" id="structec__slave_html_a0310afbbf38da2a92cdbe3911a46535c"><div class="ttname"><a href="structec__slave.html#a0310afbbf38da2a92cdbe3911a46535c">ec_slave::configured_rx_mailbox_size</a></div><div class="ttdeci">uint16_t configured_rx_mailbox_size</div><div class="ttdoc">Configured receive mailbox size. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00197">slave.h:197</a></div></div>
<div class="ttc" id="structec__slave_html_a2b02f5e40a79f9b6213dde898a10b873"><div class="ttname"><a href="structec__slave.html#a2b02f5e40a79f9b6213dde898a10b873">ec_slave::base_dc_supported</a></div><div class="ttdeci">uint8_t base_dc_supported</div><div class="ttdoc">Distributed clocks are supported. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00210">slave.h:210</a></div></div>
<div class="ttc" id="structec__sii__t_html"><div class="ttname"><a href="structec__sii__t.html">ec_sii_t</a></div><div class="ttdoc">Slave information interface data. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00132">slave.h:132</a></div></div>
<div class="ttc" id="structec__slave_html_a9b6ee3261f586d6c30647b1494da0f57"><div class="ttname"><a href="structec__slave.html#a9b6ee3261f586d6c30647b1494da0f57">ec_slave::sii_nwords</a></div><div class="ttdeci">size_t sii_nwords</div><div class="ttdoc">Size of the SII contents in words. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00220">slave.h:220</a></div></div>
<div class="ttc" id="structec__sii__t_html_a0ac2c5757ef583a6b3e8a8c0ddffbd9f"><div class="ttname"><a href="structec__sii__t.html#a0ac2c5757ef583a6b3e8a8c0ddffbd9f">ec_sii_t::group</a></div><div class="ttdeci">char * group</div><div class="ttdoc">Group name. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00155">slave.h:155</a></div></div>
<div class="ttc" id="slave_8h_html_a19149abe080d35cfd2e6bd6f6bef00b1"><div class="ttname"><a href="slave_8h.html#a19149abe080d35cfd2e6bd6f6bef00b1">ec_slave_attach_pdo_names</a></div><div class="ttdeci">void ec_slave_attach_pdo_names(ec_slave_t *)</div><div class="ttdoc">Attach PDO names. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00781">slave.c:781</a></div></div>
<div class="ttc" id="structec__slave_html_aa4d67d55717398c4f25d379ede390d5d"><div class="ttname"><a href="structec__slave.html#aa4d67d55717398c4f25d379ede390d5d">ec_slave::base_sync_count</a></div><div class="ttdeci">uint8_t base_sync_count</div><div class="ttdoc">Number of supported sync managers. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00208">slave.h:208</a></div></div>
<div class="ttc" id="structec__slave__config_html"><div class="ttname"><a href="structec__slave__config.html">ec_slave_config</a></div><div class="ttdoc">EtherCAT slave configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave__config_8h_source.html#l00118">slave_config.h:118</a></div></div>
<div class="ttc" id="structec__slave_html_adc17b41384e235c98b39f4ac49319d68"><div class="ttname"><a href="structec__slave.html#adc17b41384e235c98b39f4ac49319d68">ec_slave::device_index</a></div><div class="ttdeci">ec_device_index_t device_index</div><div class="ttdoc">Index of device the slave responds on. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00179">slave.h:179</a></div></div>
<div class="ttc" id="structec__sii__t_html_a69a301c8203300eddd299807a617ad03"><div class="ttname"><a href="structec__sii__t.html#a69a301c8203300eddd299807a617ad03">ec_sii_t::product_code</a></div><div class="ttdeci">uint32_t product_code</div><div class="ttdoc">Vendor-specific product code. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00136">slave.h:136</a></div></div>
<div class="ttc" id="slave_8h_html_aadf6c239dfe7541b45ae606c113b12b8"><div class="ttname"><a href="slave_8h.html#aadf6c239dfe7541b45ae606c113b12b8">ec_slave_get_sdo_by_pos_const</a></div><div class="ttdeci">const ec_sdo_t * ec_slave_get_sdo_by_pos_const(const ec_slave_t *, uint16_t)</div><div class="ttdoc">Get an SDO from the dictionary, given its position in the list. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00684">slave.c:684</a></div></div>
<div class="ttc" id="structec__slave_html_aef33c89d3974546f5aed153b379d0d24"><div class="ttname"><a href="structec__slave.html#aef33c89d3974546f5aed153b379d0d24">ec_slave::error_flag</a></div><div class="ttdeci">unsigned int error_flag</div><div class="ttdoc">Stop processing after an error. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00193">slave.h:193</a></div></div>
<div class="ttc" id="structec__sii__t_html_a1cfcfe4bdca850f302cbb8938affa7b9"><div class="ttname"><a href="structec__sii__t.html#a1cfcfe4bdca850f302cbb8938affa7b9">ec_sii_t::syncs</a></div><div class="ttdeci">ec_sync_t * syncs</div><div class="ttdoc">SYNC MANAGER categories. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00165">slave.h:165</a></div></div>
<div class="ttc" id="structec__sii__t_html_a47eb676cee305c53f5fec378bc95c68d"><div class="ttname"><a href="structec__sii__t.html#a47eb676cee305c53f5fec378bc95c68d">ec_sii_t::std_tx_mailbox_size</a></div><div class="ttdeci">uint16_t std_tx_mailbox_size</div><div class="ttdoc">Standard transmit mailbox size. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00146">slave.h:146</a></div></div>
<div class="ttc" id="structec__master_html"><div class="ttname"><a href="structec__master.html">ec_master</a></div><div class="ttdoc">EtherCAT master. </div><div class="ttdef"><b>Definition:</b> <a href="master_8h_source.html#l00194">master.h:194</a></div></div>
<div class="ttc" id="structec__slave_html_af81c1abd2ac2b8a5a5bfbbfe7d79ce70"><div class="ttname"><a href="structec__slave.html#af81c1abd2ac2b8a5a5bfbbfe7d79ce70">ec_slave::requested_state</a></div><div class="ttdeci">ec_slave_state_t requested_state</div><div class="ttdoc">Requested application state. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00191">slave.h:191</a></div></div>
<div class="ttc" id="slave_8h_html_aae4c4f075c98de7dc270649e95b8c51e"><div class="ttname"><a href="slave_8h.html#aae4c4f075c98de7dc270649e95b8c51e">ec_slave_fetch_sii_strings</a></div><div class="ttdeci">int ec_slave_fetch_sii_strings(ec_slave_t *, const uint8_t *, size_t)</div><div class="ttdoc">Fetches data from a STRING category. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00312">slave.c:312</a></div></div>
<div class="ttc" id="sdo_8h_html"><div class="ttname"><a href="sdo_8h.html">sdo.h</a></div><div class="ttdoc">EtherCAT CANopen SDO structure. </div></div>
<div class="ttc" id="structec__sii__t_html_ae4a7f50f715570d1cbfce538ab7828d9"><div class="ttname"><a href="structec__sii__t.html#ae4a7f50f715570d1cbfce538ab7828d9">ec_sii_t::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Slave name. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00158">slave.h:158</a></div></div>
<div class="ttc" id="structec__sii__t_html_ad185baf2f7711424507c20f6e96b7014"><div class="ttname"><a href="structec__sii__t.html#ad185baf2f7711424507c20f6e96b7014">ec_sii_t::vendor_id</a></div><div class="ttdeci">uint32_t vendor_id</div><div class="ttdoc">Vendor ID. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00135">slave.h:135</a></div></div>
<div class="ttc" id="structec__slave__port__t_html_ad9c8ad9fc7ebd5681eb72951b1716cc5"><div class="ttname"><a href="structec__slave__port__t.html#ad9c8ad9fc7ebd5681eb72951b1716cc5">ec_slave_port_t::delay_to_next_dc</a></div><div class="ttdeci">uint32_t delay_to_next_dc</div><div class="ttdoc">Delay to next slave with DC support behind this port [ns]. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00124">slave.h:124</a></div></div>
<div class="ttc" id="structec__slave_html_a0baba2f1593708191871119e3570655f"><div class="ttname"><a href="structec__slave.html#a0baba2f1593708191871119e3570655f">ec_slave::force_config</a></div><div class="ttdeci">unsigned int force_config</div><div class="ttdoc">Force (re-)configuration. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00194">slave.h:194</a></div></div>
<div class="ttc" id="structec__sii__t_html_ac9a082bcb14f1d40aa7a2ee278a4a912"><div class="ttname"><a href="structec__sii__t.html#ac9a082bcb14f1d40aa7a2ee278a4a912">ec_sii_t::has_general</a></div><div class="ttdeci">unsigned int has_general</div><div class="ttdoc">General category present. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8h_source.html#l00154">slave.h:154</a></div></div>
<div class="ttc" id="slave_8h_html_a2f99eebce71e4d7b4d5df85b6ff4af77"><div class="ttname"><a href="slave_8h.html#a2f99eebce71e4d7b4d5df85b6ff4af77">ec_slave_get_sdo</a></div><div class="ttdeci">ec_sdo_t * ec_slave_get_sdo(ec_slave_t *, uint16_t)</div><div class="ttdoc">Get an SDO from the dictionary. </div><div class="ttdef"><b>Definition:</b> <a href="slave_8c_source.html#l00636">slave.c:636</a></div></div>
<div class="ttc" id="pdo_8h_html"><div class="ttname"><a href="pdo_8h.html">pdo.h</a></div><div class="ttdoc">EtherCAT Process data object structure. </div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="slave_8h.html">slave.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
